package cn.huijielong.modules.pub.service;

import java.util.Map;

import com.github.pagehelper.Page;

import cn.huijielong.common.utils.Query;
import cn.huijielong.modules.pub.entity.UserOpenidEntity;

/**
 * 用户Id-openid关联表
 * 
 * @author xys
 * @email xys@gmail.com
 * @date 2019-07-03 22:46:44
 */
public interface UserOpenidService {
	
	UserOpenidEntity queryObject(Long userId);
	
	UserOpenidEntity queryByOpenid(String openid);
	
	Page<UserOpenidEntity> queryList(Query q);
	
	int queryTotal(Map<String, Object> map);
	
	void save(UserOpenidEntity userOpenid);
	
	void update(UserOpenidEntity userOpenid);
	
	void delete(Long userId);
	
	void deleteBatch(Long[] userIds);
}
